﻿<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<c:set var="path" value="${pageContext.request.contextPath }" />
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />

<LINK rel="Bookmark" href="../images/favicon.ico">
<!-- 本框架基本脚本和样式 -->
<script type="text/javascript"
	src="${path }/resource/js/jquery-2.1.4.min.js"></script>
<link
	href=" ${path }/resource/plugin/bootstrap-3.3.5/css/bootstrap.min.css"
	rel="stylesheet" type="text/css" />

<title>${ar.title }</title>
<link rel="stylesheet"
	href="${path }/resource/css/document-center.min.css" />
</head>

<body>
	<%@ include file="top.jsp"%>
	<div class="container" style="margin-top: 100px;background: #fff ;padding: 20px 40px" >
		<div class="row">
			<h1>${ar.title }</h1>
			<div class="" style="float: right; ">
		 	 ${ar.articleAuthor}<fmt:formatDate pattern="yyyy-MM-dd" value="${ar.createtiem }" />
			</div>
			<hr style="clear: both;" >
			<!-- 文档类容 -->
			<div class="">${ar.content }</div>
		</div>
		
		 
			
	</div>

</body>
<script type="text/javascript">
	/*nav*/
	$(function() {
		$(".doucment-nav").addClass("nav-hover");
	})
	$(function() {
		var imgs = $("#image").val();
		$(".banner-img").css('background-image', 'url(imgs)');
	})
</script>
</html>